package com.lv.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {

    @RequestMapping("index")
    public String index() {
        return "admin/index";
    }
    //注册
    @RequestMapping("register")
    public String register() {
        return "register";
    }

    //登录
    @RequestMapping("login")
    public String login() {
        return "shoplogin";
    }
}
